package edu.neu.ecommerceplatform.model;

public class Category {
    Long id;
    String name;
    Long parentCategoryID;
    String description;

    public Category(){}

    public Category(Long id, String name, Long parentCategoryID, String description) {
        this.id = id;
        this.name = name;
        this.parentCategoryID = parentCategoryID;
        this.description = description;
    }

    @Override
    public String toString() {
        return "Category{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parentCategoryID=" + parentCategoryID +
                ", description='" + description + '\'' +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentCategoryID() {
        return parentCategoryID;
    }

    public void setParentCategoryID(Long parentCategoryID) {
        this.parentCategoryID = parentCategoryID;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
